<!DOCTYPE HTML>
<html lang="zh-CN">
    <head>
        <title>JSON比对工具</title>
        <meta charset="UTF-8">
        <link rel="shortcut icon" href="../static/img/favicon.ico">
        <link rel="stylesheet" href="index.css" />
        <script type="text/javascript" src="../static/vendor/evalCore.min.js"></script>
        <script type="text/javascript" src="../static/vendor/vue/vue.js"></script>
    </head>
    <body>
        <div class="wrapper wp-json" id="pageContainer">
            <div class="panel panel-default" style="margin-bottom: 0px;">
                <div class="panel-heading">
                    <h3 class="panel-title">
                        <a href="https://fehelper.com" target="_blank" class="x-a-high">
                            <img src="../static/img/fe-16.png" alt="fehelper"/> FeHelper</a>：JSON比对工具
                            
                        <a class="x-other-tools" @click="openOptionsPage($event)"><i class="icon-plus-circle"></i> 探索更多实用工具 <span class="tool-market-badge">工具市场</span></a>
                        <span class="x-donate-link" @click="openDonateModal($event)"><a href="#" id="donateLink"><i class="nav-icon">❤</i>&nbsp;打赏鼓励</a></span>
                    </h3>
                </div>
            </div>

            <div class="panel-body mod-json">
                <div class="json-examples">
                    <span>示例数据：</span>
                    <a href="#" class="example-button" data-example="userInfo">用户信息</a>
                    <a href="#" class="example-button" data-example="productData">商品数据</a>
                    <a href="#" class="example-button" data-example="configOptions">配置选项</a>
                    <a href="#" class="example-button" data-example="apiResponse">API响应</a>
                    <span class="x-error result-display" v-bind:class="{'x-hlt': errorHighlight}" v-if="!!errorMessage">
                        <span class="x-hlt">Tips：</span>
                        <span v-if="leftSideError" class="x-hlt1">左侧</span>
                        <span v-if="rightSideError" class="x-hlt1">右侧</span>
                        <span>{{ errorMessage }}</span>
                    </span>
                </div>
                <div class="col-md-6 box-wrapper-left">
                    <textarea class="form-control mod-textarea" id="jsonSourceLeft" ref="srcLeft" placeholder="在这里粘贴JSON代码"></textarea>
                </div>
                <div class="col-md-6 box-wrapper-right">
                    <textarea class="form-control mod-textarea" id="jsonSourceRight" ref="srcRight" placeholder="在这里粘贴JSON代码"></textarea>
                </div>
            </div>

        </div>
        <script src="../static/vendor/jquery/jquery-3.3.1.min.js"></script>
        <script src="../static/vendor/codemirror/codemirror.js"></script>
        <script src="../static/vendor/codemirror/javascript.js"></script>
        <script src="../static/vendor/codemirror/active-line.js"></script>
        <script src="../static/vendor/codemirror/matchbrackets.js"></script>
        <script src="../static/vendor/codemirror/placeholder.js"></script>
        <script src="../static/vendor/codemirror/formatting.js"></script>
        <script src="../static/vendor/json-diff/backbone-events.min.js"></script>
        <script src="../static/vendor/json-diff/json-patch-duplex.min.js"></script>
        <script src="../static/vendor/json-diff/json-source-map.js"></script>
        <script src="../static/vendor/json-diff/json-diff.js"></script>
        <script src="./js-adapter.js"></script>
        <script src="./index.js"></script>
        <script src="./index-event-handler.js"></script>
    </body>
</html>
